Space environment of Mercury at the time of the first MESSENGER flyby: Solar wind and interplanetary magnetic field modeling of upstream conditions