On the formation of metal-rich deposits at ridge crests