Search for top-quark decays t → Hq with 36 fb−1 of pp collision data at √s = 13 TeV with the ATLAS detector