Matthew Stevens produced an impressive display to beat Ronnie O'Sullivan and reach the last 16 of the English Open.