D-branes and physical states