Development of an automated system for isolation and purification of humic substances