Switchable material could enable new memory chips