Chemistry of the solar nebula