US academic facing Thai royal defamation charge released on bail