Similarity solutions for magnetogasdynamic shock waves in a rotating ideal gas using the Lie group-theoretic method