Real-time atmospheric extinction variation analysis with the Photometric Telescope at Xinglong Observatory