Construction of nonlinear quasimodes near elliptic periodic orbits