NEXAFS spectra of aromatic molecules by plane-wave calculations