James Davies of Brecon Avenue, Worcester, pleaded guilty to attempting to sexually communicate with a child