Longitudinal associations between children’s dental caries and risk factors