President Barack Obama endorses Hillary Clinton for president