Vibrational energy transfer and pyrolysis of nitromethane by the variable-encounter method