New York to work with Gates Foundation to 'reimagine' education - governor