Design of InGaAsP/InP active optical couplers via beam propagation algorithm based on the method of lines