Finite-Element Semivectorial Beam Propagation Method for Nonlinear Integrated Optical Devices