Lifetime maximization for connected target coverage in wireless sensor networks