GRB observations at very high energies with the MAGIC telescopes