Optimal starting times for a class of single machine scheduling problems with earliness and tardiness penalties