Postoperative pulmonary complications in dogs undergoing laparotomy: anesthetic and perioperative factors