Gravar-mail: Breadth-First Search-Based Single-Phase Algorithms for Bridge Detection in Wireless Sensor Networks