Measurements of lifetimes of excited states of helium atoms