Efficient Neural Network Approaches for Conditional Optimal Transport with Applications in Bayesian Inference