First-principles investigation on the mechanism of photocatalytic properties for cubic and orthorhombic KNbO 3