Camera Scheduling and Energy Allocation for Lifetime Maximization in User-Centric Visual Sensor Networks