On algebraic integers in short intervals and near smooth curves