An epidemiological investigation of affective disorders with a population-based cohort of 1023 adults with intellectual disabilities