Apple and Rosemary Tarte Tatin