World leaders and Venezuelans are questioning the legitimacy of the country's presidential election results, after President Nicolás Maduro was formally declared the winner.