DISTRIBUTED DOUBLE THRESHOLD SPATIAL DETECTION ALGORITHMS IN WIRELESS SENSOR NETWORKS