Search for Higgs and Z Boson Decays to φγ with the ATLAS Detector