Identifying the links between physical and mental health