All-sky search for gravitational-wave bursts in the second joint LIGO-Virgo run