Plattsburgh man charged with attempted robbery with BB gun