Endoprosthesis for the treatment of thoracic aortic aneurysms