Macromolecular diffractive imaging using imperfect crystals