Knowledge spillover, licensing and patent protection