Local patents and economic development