High pressure resistant inductive sensor