Optical study of hardness anisotropy and chemical dissolution of crystalline materials (calcite and sodium nitrate crystals)