Some local curvature estimates for the Ricci flow