Three dead in two San Jose shootings