Azumaya loci and discriminant ideals of PI algebras