D-branes and creation of strings