Rice cultivation and harvest date identification based on a hidden Markov model