Electronic properties of carbon sheets and nanoribbons based on acepentalene-like building blocks