Portugal must pay costs for colonial era, says president