Grain quality of rices grown in irrigated and upland cultures