Node placement optimization under K-Coverage and K-Connectivity constraints in wireless sensor networks