Measurement of B decays to ϕKγ