Absolute grading in Heegaard Floer theory and its applications in low-dimensional topology