Rosemary roasted chicken with apples and potatoes