The molecular bar and star formation in the nucleus of NGC 6946.