The presidents of Iran and Russia have criticised US dollar dominance ahead of the BRICS summit in India.