Asteroseismology of solar-type stars