Smoking more than 20 cigarettes a day can damage your vision, researchers find.