The nature of the low-frequency emission of M 51: First observations of a nearby galaxy with LOFAR