Police fired tear gas and water cannons at thousands of protesting farmers heading for the capital, New Delhi, to demand better prices for their produce.