Ozsvath--Szabo invariants and contact surgery