Optimal control of Piecewise Deterministic Markov Processes: a BSDE representation of the value function