Performance comparison of hybrid resistive switching devices based on solution-processable nanocomposites