Derivation and application of mathematical model for well test analysis with variable skin factor in hydrocarbon reservoirs