Nets' star Lopez out 2 games with foot sprain