Hyperdeformed states in 36Ar and 48Cr in the cranked cluster model