Determinants of physical, mental and social well-being: a longitudinal environment-wide association study