Generating Switchable and Reconfigurable Optical Vortices via Photopatterning of Liquid Crystals