Variations of semi-infinite Hodge structures, quantum master equation on cyclic cochains, Feynman transforms and cohomological field theories