Cyclotron and annihilation lines in γ-ray bursts