Effect of crystalline state on conductive filaments forming process in resistive switching memory devices