Honduran police fired tear gas at protesters as President Juan Orlando Hernandez was sworn in for a second term amid accusations of election fraud.