Influence of Ammonia on Amorphous Carbon Resistive Random Access Memory