Barcelona have been knocked out of the Champions League in the group stage for the second season running after Inter Milan beat Viktoria Plzen.