For real numbers, $x$ and $y$, with $y= 3x^{2}+3x+1$, the maximum and minimum value of $y$ for $x\in [-2,0]$ are respectively,_____.
1. $7$ and $\frac{1}{4}$
2. $7$ and $1$
3. $-2$ and $\frac{-1}{2}$
4. $1$ and $\frac{1}{4}$