The bride , 40 , and the bridegroom , 39 , teach at California universities ; she is an assistant professor of psychiatry at the Stanford University School of Medicine and he is an associate professor of bioengineering at the University of California , Berkeley .