Detection and enumeration of wheat grains based on a deep learning method under various scenarios and scales