Pilots sleeping in the cockpit could improve airline safety