Australia passes new law on gun control, hate crime