Exact Solutions of the Duffin-Kemmer-Petiau Equation with a Pseudoharmonic Potential in the Presence of a Magnetic Field in (1+2) Dimensions