MBE growth of GaN and AlGaN layers on Si(111) substrates: doping effects