Surface cracks in a plate of finite width under extension or bending