A transient semimetallic layer in detonating nitromethane