Fano resonance and resonant localization of excitonic wave in one-dimensional quantum dot array with a ring