Onset of chaos in coupled map lattices via the peak-crossing bifurcation