Bayesian system identification for structures considering spatial and temporal dependencies