Superconductivity of SrAlGe and BaAlGe: structure and dynamics of SrAlGeH and BaAlGeH