Spatial isomorphisms of algebras of truncated Toeplitz operators