Lattice dynamics of ferroelectrics using the lapw linear response method: Application to KNbO3