Elastic behavior of an edge dislocation inside the wall of a nanotube