Effects of donor-acceptor quantum coherence and non-Markovian bath on the distance dependence of resonance energy transfer