Tensor-based image diffusions derived from generalizations of the Total Variation and Beltrami Functionals