A three-terminal spatial light modulator optically addressed by an a-Si:H photosensor