Fermin Lopez scored twice as Barcelona beat Slavia Prague to boost their chances of moving straight into the last 16 of the Champions League.