Nitrogen and phosphorus losses from paddy fields and the yield of rice with different water and nitrogen management practices