Deploying Sensor Nodes Using Bacterial Foraging Optimization