The electromagnetic form factors of heavy-light pseudo-scalar and vector mesons