Two teenagers have been charged in connection with the attempted murder of a 16-year-old boy in an Edinburgh street.