Countries from New Zealand to Iran denounce mass shooting in Australia.