Let $p(x) = x^{2} + bx + c$, where $b$ and $c$ are integers. If $p(x)$ is a factor of both $x^{4} + 6x^{2} + 25$ and $3x^{4} + 4x^{2} + 28x + 5$, find the value of $p(1)$.

Let's think step by step and output the final answer within \boxed{}.
user