Sodomy trial of opposition leader Anwar opens after legal delays