Common genetic variants in psychosis across the lifespan: from the beginnings of psychosis to cognition in later age