Converting between moles and atoms