Density functional study of triazole and thiadiazole systems as electron transporting materials.