Patient-specific online dose verification based on transmission detector measurements