The Hilbert function of bigraded algebras in k[P1×P1]