Time reversal method for guided wave inspection in pipes