A candidate of Germany's right-wing nationalist party has said the country should "be proud of" its soldiers in both world wars and people should no longer "reproach" Germans for World War Two.