A two-phase two-layer model for transdermal drug delivery and percutaneous absorption