InAs p‐n diodes grown on GaAs and GaAs‐coated Si by molecular beam epitaxy