The Jewish communities of Safed and Jerusalem during the fourteenth century