US stock market opens higher with tech, pharma gains