倒霉 means out of luck,you can say"我今天真倒霉"which means ' i am so out of luck today"
糟糕 is usually used as an adjective or an interjection before bad things. andjective:天气真糟糕 means 'the weather is so bad"; interjection:糟糕!要迟到了!means 'ah how terrible(or something like that)!i am late!"