Properties of B and P doped Ge nanowires