Charge-density waves arising from two electron bands