Sweet potato and apple gratin