Jamie Dimon warns of risks as S&P 500 returns nearly 10%