Nets compete, but fall short against Celtics