Functions of bounded variation and polarization