Maria Sharapova survived two match points to overcome fellow Russian Alexandra Panova in the second round of the Australian Open.