Microstructure and properties of superconducting, ferromagnetic and hybrid nanowire networks of La1.85Sr0.15CuO4 and La0.5Sr0.5MnO3