Optical characterization of the director profile in a ferroelectric liquid crystal cell with homeotropic alignment