Symmetry analysis of self-written waveguides in bulk photosensitive media.