Phonons splitting induces the second harmonic of tetragonal KH2PO4 by first-principles calculations