Now these hotels feature first-rate accommodations, but their histories are rich with discreet work carried out by spies and other intelligence agents