as_sf function

Coerce a SpatVector to a sf object