Grilled Sausages with Caramelized Onions and Apples