Phase Change and Magnetic Memories for Solid-State Drive Applications