Lubricant effects in the transition from boundary to microelastohydrodynamic lubrication