Richard Perry, a music producer who worked with The Beatles, died after suffering a cardiac arrest