India complains to Beijing over treatment of diplomat