Nondestructive detection of cavities by an inverse elastostatics boundary element method