Euler-type schemes for weakly coupled forward-backward stochastic differential equations and optimal convergence analysis