A general family of two step collocation methods for ordinary differential equations