A Chemical and Kinematical Analysis of the Intermediate-age Open Cluster IC 166 from APOGEE and Gaia DR2