Extended models of transpression and transtension, and application to tectonic settings