Spatially selective photochemical activity on surfaces of ferroelastics with local polarization