Potential energy surface for the model unimolecular reaction HNC → HCN