US president says he has 'been treated very badly by the political leaders of both the city and state'; source close to the president tells NYT move is primarily for tax purposes