But median incomes for the cities—San Jose, San Francisco, Los Angeles, and San Diego—fall well short.