Combined reflection and transmission thin-film ellipsometry: a unified linear analysis