Parameterization of canopy resistance for modeling the energy partitioning of a paddy rice field