Adobe CTO Kevin Lynch resigns to work at Apple