Teenagers appear in court charged with attempted murder