Boundary conditions for rapid granular flows: phase interfaces