Jennifer Aniston talks not realizing the ‘anxiety and self-torture’ Matthew Perry went through on Friends