Factors influencing the intention to stay amongst medical academic staff