NHS must fix training for UK doctors before encouraging applicants from abroad, says BMA chair