The head of China's regulatory body has resigned, official news sources say, following the health scare on dairy foods and drinks.