Electronic excited-state wave functions for quantum Monte Carlo: Application to silane and methane