Newsom signs sweeping climate legislation into law