Least-squares finite-element SN method for solving three-dimensional transport equation