Former Taiwanese president jailed for life on corruption charges