Electronic effect and elastic properties of RbH2PO4 crystals