Commanders of naval shipyards may be selected by the President from officers of the Navy not below the grade of commander.