pelicans are large water birds with long necks and legs .