US women's gymnastics team makes missteps, finishes second in qualifying for team finals