Characteristics of reflected and diffuse ions upstream from the earth's bow shock