Atoms, quanta, and qubits: Atomism in quantum mechanics and information