Identifying Time-varying Costs in Finite-horizon Linear Quadratic Gaussian Games