Bear in Thai temple mauls tourist