Police say the boys were brought to the hospital with gunshot wounds