Jews gave Muslims the key to their synagogue after the town’s mosque burned down