Decoding population neuronal responses by topological clustering