The UK government has banned imports of some meat and dairy products from Hungary and Slovakia following a confirmed case of foot-and-mouth disease (FMD).