Optimal guidance of homing missiles