The ab initio calculations of single nitrogen–vacancy defect center in diamond