Estimating the spatial variation of earthquake ground motion from dense array recordings