Memory device and preparing method thereof