Red blood cell: from its mechanics to its motion in shear flow