Calif. puts cap-and-trade rules into effect