On cumulative residual (past) inaccuracy for truncated random variables