Variations in patterns of involuntary hospitalisation and in legal frameworks: an international comparative study