San Diego doctor caught watching child porn at work will get his license back