Courteney Cox says Matthew Perry put 'a lot of pressure on himself' during 'Friends'