Life cycle optimization of sustainable energy systems within planetary boundaries