Russia edges Japan, China for gold in men’s gymnastics