Design of an intelligent grading system for cashew kernel using image processing and soft computing techniques