About 300 workers will walk out at bases in Scotland, Portsmouth and Plymouth