Attitude and orbit control techniques for spacecraft with electric propulsion