Light-erasable embedded memory device and method of manufacturing the same