Infinite games and cardinal properties of topological spaces