Method of manufacturing a self-aligned cross-point memory array