In-plane and out-of-plane deformation at the sub-grain scale in polycrystalline materials assessed by confocal microscopy