Two toxic chemicals used in dry cleaning, glues and art supplies have been banned because they can cause cancer and damage organs.