Hierarchical detection and tracking for moving targets in underwater wireless sensor networks