determination of glass transition