Polls opened in Portugal's general election on Sunday, with mainstream moderates trying to keep populists at bay.