Gravar-mail: Automated recognition of postures and drinking behaviour for the detection of compromised health in pigs