Same-sex couples knew risk of weddings, Tony Abbott says