Phase retrieval of non-continuous fringe patterns by a genetic data reduction algorithm