Australia invalidates same-sex marriage law