Add first and last classes to your WordPress loop without using JavaScript