Security against individual attacks for realistic quantum key distribution