Covalently bonded single-molecule junctions with stable and reversible photoswitched conductivity