K∗(892)0 and φ(1020) production at midrapidity in pp collisions at s =8 TeV