Tetrazines and tetraphosphorins, tetrazoles and tetraphospholes: a density functional theory study