Religious hate crime rose by a quarter to record levels as offences against Jews and Muslims surged amid the Israel-Palestine conflict, official figures show.