Effects of alternate wetting and drying irrigation on yield, water and nitrogen use, and greenhouse gas emissions in rice paddy fields