A novel smart caliper foam pig for low-cost pipeline inspection—Part A: Design and laboratory characterization