Statistical modeling and inference for spatial and spatio-temporal data