Theoretical study of the electronic properties of the purine and pyrimidine components of the nucleic acids