A unified approach to robust meter placement against loss of measurements and branch outages