A General Approach to Substituted Benzimidazoles and Benzoxazoles via Heterogeneous Palladium-Catalyzed Hydrogen-Transfer with Primary Amines.