Association of antecedent cardiovascular risk factor levels and trajectories with cardiovascular magnetic resonance-derived cardiac function and structure