Efficient and Eco‐friendly Syntheses of 1,5‐Benzothiazepines and 1,5‐Benzodiazepines Catalyzed by [Hmim][NO3] under Mild Conditions