Phase transformation induced resistive switching behavior in Al/Cu2Se/Pt