Bilinear maximal functions associated with degenerate surfaces