CP Properties of Higgs Boson Interactions with Top Quarks in the t t ¯ H and tH Processes Using H →γγ with the ATLAS Detector