Geotail observations of magnetosheath flow near the magnetopause, using wind as a solar wind monitor