A Hermite‐Lobatto Pseudospectral Method for Optimal Control