Carbon nanoribbons and nanotubes based on δ-graphyne: A first-principles study