MAGIC observations and multifrequency properties of the flat spectrum radio quasar 3C 279 in 2011