Scientists have figured out how to store memory with light