Simon Hobbs, 47, from Caerphilly pleaded guilty to producing the class B drug