Collapse of micrometer-sized cavitation bubbles near a rigid boundary