Autoresonant excitation and control of molecular degrees of freedom in three dimensions