Applesauce-glazed rosemary pork with sauteed green beans