A Spanish high court judge has opened a criminal investigation into sexual misconduct allegations against singer Julio Iglesias.