Equation of state of BaTiO3 and KNbO3 at room temperature up to 30 GPa