NSW marriage laws amended to include transgender people