Classical and quantum D-branes in 2D string theory