Social norms, cognitive dissonance and the timing of marriage