Corrugation induced rotational excitation in photon/electron-induced desorption of ammonia: A three-dimensional quantum study