17O quadrupole resonance study of the ferroelectric phase transition in KH2PO4