The indecomposable modular representations of certain groups with dihedral sylow subgroup