Third-harmonic-generation of a diode laser for quantum control of beryllium ions