Comparison results for inactivity times of k-out-of-n and general coherent systems with dependent components