The UK's Food Standards Agency has said it will consider taking legal action over the discovery of horse DNA in some beef burgers on sale in several retailers in the UK and Ireland.