Electrochemical intramolecular C-H amination: synthesis of benzoxazoles and benzothiazoles.