Iran's paramilitary Revolutionary Guard Corps has seized two commercial container ships in the Strait of Hormuz over alleged maritime violations.