A solid mechanics approach to surface relief formation in photosensitive hybrid sol-gel materials