Biles returns to Olympic competition, wins bronze on beam