A sociosemiotic theory of theatre