Variable spectral response photodetector based on crystalline/amorphous silicon heterostructure