Relativistic calculations of the ground and inner- L -shell excited energy levels of berylliumlike ions