Electronic and optical devices with gallium arsenide on silicon prepared by MBE