Propulsion control optimisation for emergency manoeuvres of naval vessels