Multistability in lossy power grids and oscillator networks.