Man caught selling 'diet pills' - but they were actually a d