Resolvent estimates for elliptic quadratic differential operators