Azerbaijan says foils attacks near U.S. embassy