Duration of untreated psychiatric illness and its correlations in patients attending a tertiary care psychiatric facility: a cross-sectional study