The polar decomposition of block companion matrices