Mode-dependent toughness and the delamination of compressed thin films