Let a random variable \( X \) take values \( 0, 1, 2, 3 \) with \( P(X=0)=P(X=1)=p \), \( P(X=2)=P(X=3)= \) and \( E(X^{2})=2E(X) \). Then the value of \( 8p-1 \) is:
\( 1 \)
\( 2 \)
\( 3 \)
\( 0 \)