The foreign secretary says the detention by Iran of the British-flagged ship is “unacceptable”.