Electronic and thermoelectric properties of quasi-fractal carbon nitride nanoribbons