Phelps inches closer to record gold; U.S. takes bronze in men's gymnastics