Avanos Medical agrees to $1.272 billion all-cash buyout from AIP