US, UN condemn New Zealand mosque attacks