Ashmont man accused of punching a police officer pleads not guilty to charges