Australian Parliament allows same-sex marriages