Energy and environmental analysis of a flexible Power-to-X plant based on Reversible Solid Oxide Cells (rSOCs) for an urban district