Farmers have warned that the recent weather conditions could lead to food shortages across the UK in just months.