CounterNet: End-to-End Training of Prediction Aware Counterfactual Explanations