Thai market comes of age with energy group’s $3bn rights issue