The United Nations has accused Iran of supplying the Syrian government with weapons, which it is aiming at its own population.