Semidefinite geometry of the numerical range