Effect of hydrostatic pressure on the ferroelectric Curie temperatures of KH2PO4 and KD2PO4