Analytical bounds for the electromechanical buckling of a compressed nanocantilever