Find rigid bodies in protein and nucleic acid structures