On technolgy competition: a formal analysis of the sailing-ship effect