GRB 990510: linearly polarized radiation from a fireball