Prospects for observing and localizing gravitational-wave transients with Advanced LIGO, Advanced Virgo and KAGRA