China rehearses attack on Taiwan as ‘punishment’ for new leader