Cochin Shipyard shares gain 6% on bagging Rs 300-crore defence project