Construction of extremal or optimal codes with an automorphism of order 29