People who dine out had higher levels of toxic chemicals called phthalates than those who ate home-cooked meals, according to a study.