Picosecond dynamics in layered cobalt perovskites studied by time-resolved Raman spectroscopy