Measurement of B decays to phiKgamma