The cost-quantity relations and the diverse patterns of “learning by doing”: Evidence from India