Passing from plat closure to standard closure of braids in R^3, in handlebodies and in thickened surfaces