Bayer Leverkusen will face either Arsenal or Bayern Munich in the last-16 of the Champions League after beating Olympiakos over two legs.