Representation of ordinal preferences over infinite products