Derived coisotropic structures II: stacks and quantization