Problem is solved finally. The problem was caused by sensitive I2C bus. That is microcontroller always stucked when data read from DS1307 chip occured. Tried several ways to reduce sensitivity, but nothing helped. Then changed one manufacturer's DS1307 chip to another (to maxim's i suspect, but cant to say exactly). And problem magically dissapeared! So thanks to everyone who tried to help me.