Dual layer ZnO configuration over nanostructured porous silicon substrate for enhanced memristive switching