On metric dimensions of hypercubes