how is bonus calculated in salary