Insulating phases and superfluid-insulator transition of disordered boson chains.