A British warship has docked in the Israeli port of Haifa at a time of heightened tensions in the eastern Mediterranean.