Characterization of the electronic structure of crystalline compounds through their localized Wannier functions