CuAlMnV shape memory alloy thin film based photosensitive diode