TRANSITION SERVICES AGREEMENT dated as of July 31, 2007 by and between KINDRED HEALTHCARE, INC. and PHARMERICA CORPORATION