Ab initio calculations of the singlet-triplet energy difference in phenylnitrene