How to get the perfect tan? Science knows the answer!