Paint companies hit with lead-paint ruling