New rules aimed at reducing the amount of toxic chemicals in consumer products have come into force in California.