President Biden issued medals to some of those who defended the Capitol and election officials who resisted pressure to overturn the results.