factors affecting stress psychology