Cranberry Chicken with Apples and Onions