Determinants of national patent ownership by public research organisations and universities