Farmer shot dead in UP