Masses of X-ray pulsars in binary systems with OB supergiants