Strain gradient solutions of half-space and half-plane contact problems