Six men's and six women's teams will compete for the medals in T20 format as cricket returns to the Olympics in 2028.