Local structures of nitrogen-doped graphdiynes determined by computational X-ray spectroscopy