Theoretical calculation of the reaction mechanism between ammonia and formaldehyde