Implosion of a two-layer shell driven by a shaped pressure pulse