Japan likely to change law to allow female heirs to the throne