Inner-horizon instability and mass inflation in black holes