Integrated mean square properties of density estimation by orthogonal series methods for dependent variables