Theoretical study of the photodissociation cross sections and the photodissociation dynamics of HOCl