Bose-Einstein condensation and density collapse in a weakly coupled boson-fermion mixture