Numerical evaluation of coherent-state path integrals with application to time-dependent problems