Bipolar resistive switching and memristive properties of hydrothermally synthesized TiO2 nanorod array: effect of growth temperature