Australia votes for gay marriage