Heavy-metal-ion capture, ion-exchange, and exceptional acid stability of the open-framework chalcogenide (NH(4))(4)In(12)Se(20).