Submariners have been kicked out of the Royal Navy after testing positive for cannabis, cocaine, ecstasy, benzodiazepine and steroids.