comprising a heterojunction of crystalline and amorphous materials