Duality relations for hypergeometric series