Measurement of the Decays B→φK and B→φK*