How should firms carry out technological diversification to improve their performance? An analysis of patenting of Korean firms