Quantum size effects in the nonmetal to metal transition of two-dimensional Al islands