A correlational study of hopelessness and suicidal intent in patients presenting to accident and emergency department of a tertiary care hospital after attempted suicide