A simple method to improve the estimation of the relationship between rainfall and crop yield