Spin Chern number and topological phase transition on the Lieb lattice with spin–orbit coupling