European shares have climbed to a six-week high after the Greek parliament passed sweeping austerity measures demanded by its lenders.