The dynamics of coupled planar rigid bodies. Part I: reduction, equilibria and stability