An algorithm for automatic identification of multiple developmental stages of rice spikes based on improved Faster R-CNN