Lower semicontinuity and regularities of minima of variational functionals