The Z0 → Hγ decay in two-Higgs-doublet models