US President Barack Obama has said he will allow states to set stricter limits on emissions from cars.