Benzimidazoles and benzoxazoles via the nucleophilic addition of anilines to nitroalkanes.