A New Zealand court has sentenced a man who killed 51 people at two mosques to life in prison without parole