Random-phase approximation for multi-band Hubbard models