Measurement of higher-order multipole amplitudes in ψ(3686)→γχc1,2 with χc1,2→γJ/ψ and search for the transition ηc(2S)→γJ/ψ