Casey has 48 red peppers and 16 yellow peppers. If Casey wants to put the peppers into baskets so that each basket has the same number of red and yellow peppers, what is the greatest number of baskets he can make? How many of each type of pepper will he make?