A man has been taken to hospital with serious injuries to his face after being assaulted outside a West Bromwich pub.