Realizability conditions for the turbulent stress tensor in large-eddy simulation