Monitoring using artificial intelligence reveals critical links between housing conditions and respiratory health in pigs