A pneumatic gauging sensor for measuring the thickness of soft films