how to tell if rice is undercooked