Investigation of ultrasonic phased array inspection of a planar crack using finite element method