Quantum tunneling through a sharp and soft step