Production of intermediate bosons in pp and pp collisions