Large Deviations Analysis of Adaptive Distributed Detection