how long does it take to become an airline pilot