A life course approach to neighbourhood effects