China will take 'hard line' after Pelosi Taiwan trip: Former Australian PM