Topological classification of RNA structures.