Resolvent Estimates for Non-Selfadjoint Operators via Semigroups