On measuring birefringences and dichroisms using Fabry–Perot cavities