Least and greatest fixpoints in game semantics