Rapid synthesis of gallium phosphide and gallium arsenide from solid-state precursors