Ab initio studies of isomerization and dissociation reactions of peroxyacetyl nitrate (PAN)