Photoassisted generation of ferroelectric domain gratings in SBN