Iran signs accord allowing unannounced inspections of nuclear facilities