Search for narrow H gamma resonances in proton-proton collisions at sqrt(s) = 13 TeV