Mastitis detection with recurrent neural networks in farms using automated milking systems