Failure mechanisms of a gold microelectrode in bioelectronics applications