A microprocessor-based instrument for measuring plant growth