De Blasio wins Obama's endorsement to be New York City's mayor