Bela Karolyi, gymnastics coach of Olympic gold medalists who courted controversy, dies at 82