Man sentenced to 5 life terms in killings of wife, daughters