Christian Eriksen scored for Denmark on his return to the European Championship as they drew 1-1 with Slovenia.