Trans-fats are unsafe to eat and must be banned from the food supply within three years, US regulators have said.