Pregnancy and birth complications and premorbid functioning in schizophrenic and bipolar patients