Prospects for Observing and Localizing Gravitational-Wave Transients with Advanced LIGO and Advanced Virgo