MeasuringγwithB→KππandB→KKK¯decays