Sharp bounds for the Lambert W function