Optimal control of tethered artificial gravity spacecraft