Analysis of array biasing in crosspoint memories for leakage power minimization