Radio detection of high-energy cosmic rays with the Auger Engineering Radio Array