Ab initioinvestigation of graphene-based one-dimensional superlattices and their interfaces