They may not be used as places of worship anymore, but these old churches and synagogues are still awe-inspiring