Optimization and Control of Cyclic Biped Locomotion on a Rolling Cylinder