Democratic New York Mayor Bill de Blasio wins 2nd term