The court may order reasonable fees of counsel, experts, and the child’s guardian ad litem, and other costs of the action and pretrial proceedings, including blood tests, to be paid by the parties, excluding any governmental entity, in proportions and at times determined by the court.