Polls have opened in Bosnia and Herzegovina, where voters are taking part in parliamentary, presidential and local elections.