Three-state nematicity and magneto-optical Kerr effect in the charge density waves in kagome superconductors