Characteristics of all-MgB2 superconductor–insulator–superconductor junctions obtained with as-grown MgB2 thin films