Fracture mechanisms and strength of thin films