Monitoring of the radio galaxy M 87 during a low-emission state from 2012 to 2015 with MAGIC