On the approximation of SBD functions and some applications