Does reference at end of sentence come before or after the period?