Design and development of capacitance based moisture measurement for grains