Γ-convergence and homogenisation for a class of degenerate functionals