Star inventors and gender gaps in patented innovations