Roast chicken with apples and rosemary