Loughner sentenced to life for Arizona shootings