A transform approach to compute prices and Greeks of barrier options driven by a class of Lévy processes