Three detained for Thai marine deaths