Monte Carlo simulation of the mechanical relaxation of a self-assembled monolayer.