On the h-vector of a simplicial complex with Serre's condition