Resistive molecular memories: influence of molecular parameters on the electrical bistability.