How to change shares from one demat account to another

How can shares be transferred from one Demat account to another?,