Royal Navy tugboat and marine services crews, some of whom are based in Portsmouth, are being balloted for strike action amid safety concerns.