Three UK companies have withdrawn chocolate products because they contain an undeclared milk protein, the UK's Food Standards Agency has said.