what medical and age rules apply to become a pilot