Text this: Maximally localized Wannier functions: Theory and applications