Sensor Placement and Lifetime of Wireless Sensor Networks