Design and operational considerations of catalytic membrane reactors for ammonia synthesis