The crop-water level response model of rice under alternate drought and waterlogging