Superfluid and Insulating Phases in an Interacting-Boson Model: Mean-Field Theory and the RPA