Accurate finite difference beam propagation method for complex integrated optical structures