Spatiotemporal Transformer for Imputing Sparse Data: A Deep Learning Approach