Friction from fluid-film to boundary lubricated conditions