Direct trajectory optimization framework for vertical takeoff and vertical landing reusable rockets: case study of two-stage rockets | Synapse