Mean-field approximation and the collective transformation for Dyson boson hamiltonians