Rock or ground anchors having deformation measuring means