Why did the king Solomon imprison the jinni and throw him into the sea?