Capacitive sensors for measuring complex permittivity of planar and cylindrical structures