Optimal stomatal behavior theory for simulating stomatal conductance