Development of an automated monitoring system for soil moisture and temperature in smart agriculture to enhance lettuce farming productivity based on IoT