Preparation of indoline derivatives and their use as photocleavable compounds