Static and Dynamic Critical Properties of Dielectric Constant in Ferroelectric CsH2PO4 and CsD2PO4