Effect of the pandemic on the need for and use of psychiatric services among various diagnostic groups of psychiatric outpatients