Life expectancy among persons with schizophrenia or bipolar affective disorder