Implementing physical unclonable functions using PCM arrays