Temperature sensor circuit and method thereof