Cross sections for rotational excitation of ammonia colliding with helium and hydrogen