A topological classification of G-quadruplex structures