Testing standard and degenerate big bang nucleosynthesis with BOOMERanG and MAXIMA-1