Simulation of sunscreen performance