MAGIC Telescopes observation of the BL Lac objects 1ES 1215+303 and 1ES 1218+304