Alternate wetting and drying irrigation and phosphorus rates affect grain yield and quality and heavy metal accumulation in rice.