Police said the two suspects, age 17 and 19, were found dead with self-inflicted gunshot wounds near the mosque