The US and Iran have exchanged military strikes, escalating tensions in the Middle East, with Iran's Revolutionary Guard warning of retaliation.