Doctor accused of supplying actor Matthew Perry with ketamine pleads guilty