Former submariner sentenced to life in prison for child sex crimes