Older farmers will be paid to retire under a UK government scheme to bring new blood into the trade.