Intermediate Confinement for Selective Ammonia Electrosynthesis from Nitrate on Robust Mesoporous Metal Catalysts