Depth of associated graded rings via Hilbert coefficients of ideals