Japan’s monarch to attend British queen’s funeral