[sql] Calculating number of full months between two dates in SQL