A three-dimensional kinematic model for the dissolution of crystals