£21 million awarded to farmers to boost productivity