Flexible Multifunctional Photonic Crystal Fibers with Shape Memory Capability for Optical Waveguides and Electrical Sensors