Montgomery County man accused of impersonating police officer