The National Farmers Union of Scotland has highlighted oversupply and warned that poor prices could force farmers to cut production.