Australian officials said the ships were “off the east coast of Australia” and their presence there was unusual.