A proxy measure of premorbid adjustment in psychosis for large-scale epidemiological studies and electronic health record-based research