Pope accepts resignation of US bishop accused of sexual harassment