NYC deputy mayor Phil Banks resigns