Analysis of frozen orbits for solar sails