Man gets life for killings in California, Texas