A week after a poor showing in Germany's federal elections, Chancellor Olaf Scholz's center-left party has won more than 30% of the vote, according to preliminary official results.