US attack on Iran raised risks: Moody's