Extra-time goals from Andre Schurrle and Mesut Ozil proved enough for Germany to overcome a spirited Algeria 2-1 and move into a FIFA World Cup quarter-final against France.