Ousted Windows exec Sinofsky to teach at Harvard