D-Branes in Type IIA and Type IIB Theories from Tachyon Condensation