Grid_strain and grid_strain3: Software packages for strain field computation in 2D and 3D environments