Late inspiral and merger of binary black holes in scalar–tensor theories of gravity