The impact of the built environment on health behaviours and disease transmission in social systems