Just hours before the inauguration of his successor, Donald Trump, outgoing US President Joe Biden has pardoned several former officials and members of Congress as a precautionary measure.