Australia passes landmark legislation to cut carbon emissions