Effect of sex on specialty training application outcomes: a longitudinal administrative data study of UK medical graduates