Catecholate and 2,3-acenediolate complexes of d0 ions as prospective materials for molecular electronics and spintronics