Functionals with linear growth in the Calculus of Variations I, II