On the connection between solar activity and global circulation patterns in lower stratosphere and upper troposphere