Risk of self-harm in physically ill patients in UK primary care