Gamma-ray bursts and high-energy astrophysics