The boundary conditions between spatially dispersive media