Russian President Vladimir Putin has offered to use Moscow's ties with Iran to help calm the Middle East after US and Israeli strikes.