Blue and green electroluminescence from heterostructures