Pasadena man who bludgeoned friend to death and shot two police officers gets life in prison