Numerical study of a flexible sail plan submitted to pitching: Hysteresis phenomenon and effect of rig adjustments