Let \( f(\theta) = \begin{vmatrix} 1 & \cos \theta & -1 \\ -\sin \theta & 1 & -\cos \theta \\ -1 & \sin \theta & 1 \end{vmatrix} \). Suppose \( A \) and \( B \) are respectively the maximum and minimum values of \( f(\theta) \). Then \( (A, B) \) is equal to: