Negative modes and the thermodynamics of Reissner-Nordstrom black holes