A distributed neural network architecture for dynamic sensor selection with application to bandwidth-constrained body-sensor networks