US stocks post largest quarterly rise since 2020