Geometrical and physical properties of hypothetical periodic and aperiodic graphitic structures