A unified approach to resultant matrices for Bernstein basis polynomials