Critical and tricritical wetting transitions in Ising ferromagnets with a surface field