Doubly robust estimation of the weighted average treatment effect for a target population