Semisimple types for $$p$$p-adic classical groups