On derivatives of L-series, p-adic cohomology and ray class groups