Distributed detection, localization, and estimation in time-critical wireless sensor networks