Scratch resistance of brittle thin films on compliant substrates