Ab initio and electron correlation corrected energy band structure of polymeric five-membered heterocycles