Frequency‐dependent polarizabilities and Verdet constants for He, Be, CO, and FH