Judge: PG&E put profits over safety