Four teenagers and a 45-year-old man have been found guilty of murdering two boys, aged 15 and 16, who were attacked with machetes in a case of mistaken identity.