Photovoltaic Polarity‐Switching Optoelectronic Device Based on MoS2/TiS3 Heterostructures for Multifunctional Operation | Synapse