Pain detection and management in cattle with a special focus on calving