Metamaterials-based sensor to detect and locate nonlinear elastic sources