Photofragment alignment from the photodissociation of HCl and HBr