Chiral conversion and periodical decay in bridged-azobenzene photoisomerization: an ab initio on-the-fly nonadiabatic dynamics simulation