To tie the knot: cohabitation, marriage and individuals' attitudes to risk