Crack detection in dielectric structures by a linearsampling approach