Tracing tectonic deformation using the sedimentary record.