Adaptation of livestock systems to climate change: functions of grassland, breeding, health and housing