Spatially-Aware Transformer for Embodied Agents