Bifurcation to chaos in the Bénard-Marangoni instability in a confined geometry