Mechanical consequences of biomolecular gradients in byssal threads