Dual Modes Electronic Synapse Based on Layered SnSe Films Fabricated by Pulsed Laser Deposition