Italian authorities have detained the crew of a fishing boat after they were spotted allegedly helping migrants cross the Mediterranean.