Mastitis management in an economic framework