Design and synthesis of a novel polymer with a large macroscopic second harmonic generation coefficient based on quantum chemical calculations