Given a Hamiltonian of the form
$$H=\sum_k \begin{pmatrix}a_k^\dagger & b_k^\dagger \end{pmatrix} \begin{pmatrix}\omega_0 & \Omega f_k \\ \Omega f_k^* & \omega_0\end{pmatrix} \begin{pmatrix}a_k \\ b_k\end{pmatrix}, $$
where $a_k$ and $b_k$ are bosonic annihilation operators, $\omega_0$ and $\Omega$ are real constants and $f_k$ is a complex constant.
How does one diagonalise this with a Bogoliubov transformation? I've seen an excellent answer to a similar Phys.SE question here, but I'm not quite sure how it translates to this example. Any hints or pointers much appreciated.