Method for monitoring primary drying of a freeze drying process