A comparison of risk and protective factors related to suicide ideation among residents and specialists in academic medicine