A portable vector reflectometer and its application for thickness and permittivity measurements