Physiological and behavioural compensation for food quality and quantity in the slug Lehmannia marginata