An epidemiologic investigation of potential risk factors for suicide attempts