Surface-assisted optical storage in a nematic liquid crystal cell via photoinduced charge-density modulation