PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Preference Alignment