Mobile chip demand helped drive TSMC's strong earnings for the quarter